package com.dragon.logical.service.supplies;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.repository.entity.ProductCategory;

import java.util.List;

/**
 * <p>
 * 商品类别表 服务类
 * </p>
 *
 * @author sy
 * @since 2023-09-11
 */
public interface IProductCategoryService extends IService<ProductCategory> {

    ProductCategory saveCategory(ProductCategory convert);

    void updateCategory(ProductCategory category);

    List<ProductCategory> categoryList(String search);

    void deleteCategory(Integer id);
}
